package one.three.thirtySix;

import java.util.*;

public class Card {
	private String name;

	public Card(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public static List<Card> allCards() {
		List<Card> l = new ArrayList<Card>();
		l.add(new Card("Spade-A"));
		l.add(new Card("Spade-2"));
		l.add(new Card("Spade-3"));
		l.add(new Card("Spade-4"));
		l.add(new Card("Spade-5"));
		l.add(new Card("Spade-6"));
		l.add(new Card("Spade-7"));
		l.add(new Card("Spade-8"));
		l.add(new Card("Spade-9"));
		l.add(new Card("Spade-10"));
		l.add(new Card("Spade-j"));
		l.add(new Card("Spade-Q"));
		l.add(new Card("Spade-K"));
		l.add(new Card("Heart-A"));
		l.add(new Card("Heart-2"));
		l.add(new Card("Heart-3"));
		l.add(new Card("Heart-4"));
		l.add(new Card("Heart-5"));
		l.add(new Card("Heart-6"));
		l.add(new Card("Heart-7"));
		l.add(new Card("Heart-8"));
		l.add(new Card("Heart-9"));
		l.add(new Card("Heart-10"));
		l.add(new Card("Heart-j"));
		l.add(new Card("Heart-Q"));
		l.add(new Card("Heart-K"));

		l.add(new Card("Diamond-A"));
		l.add(new Card("Diamond-2"));
		l.add(new Card("Diamond-3"));
		l.add(new Card("Diamond-4"));
		l.add(new Card("Diamond-5"));
		l.add(new Card("Diamond-6"));
		l.add(new Card("Diamond-7"));
		l.add(new Card("Diamond-8"));
		l.add(new Card("Diamond-9"));
		l.add(new Card("Diamond-10"));
		l.add(new Card("Diamond-J"));
		l.add(new Card("Diamond-Q"));
		l.add(new Card("Diamond-K"));

		l.add(new Card("Club-A"));
		l.add(new Card("Club-2"));
		l.add(new Card("Club-3"));
		l.add(new Card("Club-4"));
		l.add(new Card("Club-5"));
		l.add(new Card("Club-6"));
		l.add(new Card("Club-7"));
		l.add(new Card("Club-8"));
		l.add(new Card("Club-9"));
		l.add(new Card("Club-10"));
		l.add(new Card("Club-J"));
		l.add(new Card("Club-Q"));
		l.add(new Card("Club-K"));

		return l;
	}

	@Override
	public String toString() {
		return name;
	}
}
